@charset "utf-8";

@import "common";

.wrap{
    width: 100%;
    height: auto;
    font-size: r(14px);
}

header{
    padding: 0 r(10px);
    position: relative;
    height: r(44px);
    width: 100%;
    background: #31c27c;
    display: flex;
    justify-content: space-between;
    align-items: center;
    .logo{
        width: r(90px);
        height: r(25px);
        display: block;
        background: url("https://y.gtimg.cn/mediastyle/mobile/yqq_v5/img/logo.png?max_age=19830212&d=20151105145423");
        background-size: cover;
    }
    a{
        text-align: center;
        line-height: r(28px);
        font-size: r(14px);
        background: #149c5a;
        color: #fff;
        display: block;
        height: r(28px);
        width: r(80px);
        border-radius: r(14px);
    }
}


//导航栏
.head_nav{
    width: 100%;
    height: r(40px);
    display: flex;
    li{
        text-align: center;
        width: 33.33%;
        height: 100%;
        line-height: r(40px);
        font-size: r(16px);
        color: rgba(0,0,0,.6);
        border-bottom: r(2px) solid transparent;
    }
    .n_active{
        border-bottom: r(2px) solid #31c27c;
        color: #31c27c;
    }
}


section{
    width: 100%;
    height: auto;
    position: relative;
    .s_content{
        position: absolute;
        width: 100%;
        display: none;
    }
    //推荐
    .recommend{
        background-color: #f4f4f4;
        .swiper-container {
            text-align: center;
            width: 100%;
            height: r(150px);
            margin-bottom: r(14px);
            .swiper-slide{
                display: block;
                background-color: aquamarine;
                img{
                    width: 100%;
                    height: 100%;
                    display: block;
                }
            }
            .swiper-pagination{
                bottom: 0;
                span{
                    vertical-align: bottom;
                    margin-bottom: r(12px);
                    background-color: #fff;
                }
            }
        }  
        .tvb{
            margin-left: r(10px);
            margin-bottom: r(7px);
            p{
                margin-right: r(10px);
                font-size: r(16px);
                color: #000;
                margin-bottom: r(11px);
                font-weight: normal;
            }
            .t_song{
                padding-right: r(2px);
                overflow: hidden;
                li{
                    float: left;
                    width: 50%;
                    -webkit-box-sizing: border-box;
                    padding-right: r(8px);
                    margin-bottom: r(10px);
                    a{
                        display: block;
                        width: 100%;
                        height: auto;
                        display: block;
                        background: #fff;
                        overflow: hidden;
                        .list_media{
                            display: block;
                            width: 100%;
                            margin-bottom: r(5px);
                            position: relative;
                            i{
                                color: #fff;
                                font-size: r(24px);
                                bottom: r(5px);
                                right: r(5px);
                                position: absolute;
                            }
                            img{
                                width: 100%;
                                height: auto;
                            }
                        }
                        span{
                            padding: 0 r(7px) r(5px);
                            color: #000;
                            display: block;
                            height: r(36px);
                            line-height: r(18px);
                            white-space: normal;
                            word-wrap: break-word;
                        }
                    }
                }
            }
        }
        .hot_list{
            margin-left: r(10px);
            margin-right: r(2px);
            overflow: hidden;
            p{
                font-size: r(16px);
                color: #000;
                margin-bottom: r(11px);
                font-weight: normal;
            }
            .l_cont{
                overflow: hidden;
                li{
                    float: left;
                    width: 50%;
                    -webkit-box-sizing: border-box;
                    padding-right: r(8px);
                    margin-bottom: r(10px);
                    overflow: hidden;
                    a{
                        background-color: #fff;
                        display: block;
                        width: 100%;
                        height: auto;
                        .l_pic{
                            width: 100%;
                            overflow: hidden;
                            position: relative;
                            margin-bottom: r(5px);
                            >i{
                                color: #fff;
                                font-size: r(24px);
                                bottom: r(5px);
                                right: r(5px);
                                position: absolute;
                            }
                            img{
                                width: 100%;
                                height: auto;
                            }
                            span{
                                position: absolute;
                                left: r(5px);
                                bottom: r(7px);
                                display: block;
                                line-height: r(12px);
                                color: #fff;
                                font-size: r(12px);
                                >i{
                                    font-size: r(12px);
                                    width: r(10px);
                                    height: r(10px);
                                    margin-right: 5px;
                                }
                            }
                        }
                        .l_info{
                            padding: 0 7px 5px;
                            color: #000;
                            .l_title{
                                font-size: r(14px);
                                white-space: nowrap;
                                overflow: hidden;
                                text-overflow: ellipsis;
                                font-weight: normal;
                                margin: 0;
                            }
                            span{
                                line-height: r(15px);
                                display: block;
                                font-size: r(12px);
                                white-space: nowrap;
                                overflow: hidden;
                                text-overflow: ellipsis;
                                font-weight: normal;
                            }
                        }
                        
                    }
                }
            }
        }
        .list_more{
            height: r(40px);
            line-height: r(40px);
            text-align: center;
            a{
                display: inline-block;
                padding: 0 r(10px);
                font-size: r(14px);
                color: rgba(0,0,0,.6);
            }
        }
        .mod_footer{
            padding: r(15px) 0;
            .version_tab{
                display: block;
                text-align: center;
                margin-bottom: r(16px);
                padding: 0 r(15px);
                font-size: r(14px);
                height: r(14px);
                line-height: r(14px);
                color: #000;
            }
            .footer_logo{
                display: block;
                width: r(82px);
                height: r(24px);
                margin: 0 auto r(10px);
                background-image: url(https://y.gtimg.cn/mediastyle/mobile/yqq_v5/img/logo_footer.png?max_age=19830212&d=20151105145423);
                background-repeat: no-repeat;
                background-size: cover;
            }
            p{
                font-size: r(10px);
                text-align: center;
                color: rgba(0,0,0,.5);
            }
        }
    }
    //排行
    .ranking_list{
        background-color: #f4f4f4;
        padding: r(10px);
        ul{
            width: 100%;
            height: auto;
            .topic_item{
                margin-bottom: r(10px);
                overflow: hidden;
                a{
                    display: flex;
                    background: #fff;
                    .r_pic{
                        position: relative;
                        width: r(100px);
                        min-width: r(100px);
                        height: r(100px);
                        overflow: hidden;
                        img{
                            height: 100%;
                            width: 100%;
                            display: block;
                        }
                        span{
                            position: absolute;
                            left: r(5px);
                            bottom: r(7px);
                            line-height: r(12px);
                            color: #fff;
                            opacity: .6;
                            font-size: r(9px);
                            i{
                                font-size: r(8px);
                            }
                        }
                    }
                    .r_con{
                        position: relative;
                        margin: 0 10px 0 15px;
                        h5{
                            font-size: r(16px);
                            color: #000;
                            margin-bottom: r(5px);
                            font-weight: normal;
                            line-height: r(24px);
                            overflow: hidden;
                            white-space: nowrap;
                            text-overflow: ellipsis;
                        }
                        p{
                            width: r(230px);
                            font-size: 14px;
                            color: rgba(0,0,0,.5);
                            overflow: hidden;
                            white-space: nowrap;
                            text-overflow: ellipsis;
                            line-height: r(21px);
                            .text_name{
                                color: #000;
                                margin-left: r(8px);
                                margin-right: r(5px);
                            }
                        }
                        .topic_arrow{
                            position: absolute;
                            right: r(10px);
                            top: 50%;
                            margin-top: -r(4px);
                            width: r(6px);
                            height: r(6px);
                            border-right: 1px solid #b2b2b2;
                            border-bottom: 1px solid #b2b2b2;
                            -webkit-transform: rotate(-45deg);
                        }
                    }
                }
            }
        }
        .topic_more{
            height: r(40px);
            line-height: r(40px);
            text-align: center;
            padding: 0 r(10px);
            font-size: r(14px);
            color: rgba(0,0,0,.6);
        }
    }
    //搜索
    .search{
        background: #fff;
        .s_frame{
            background: #f4f4f4;
            padding: r(10px);
            .f_con{
                background-color: #fff;
                padding: r(8px) r(12px) r(8px) 0;
                display: flex;
                justify-content: center;
                align-items: center;
                i{
                    width: r(35px);
                    font-size: r(23px);
                    display: block;
                    color: rgba(0,0,0,.3);
                    margin-left: r(10px);
                }
                input[type="search"]{
                    color: rgba(0,0,0,.3);
                    font-size: r(14px);
                    width: r(308px);
                    height: 100%;
                    border: none;
                    &::-webkit-input-placeholder{
                       color: rgba(0,0,0,.3);
                       font-size: r(14px);
                    }
                }
            }
        }
        .hot_keys{
            background: #fff;
            padding: r(15px) r(15px) r(10px) r(15px);
            h3{
                color: rgba(0,0,0,.6);
                margin-bottom: r(8px);
                font-size: r(14.04px);
            }
            .result_tags{
                font-size: 0;
                .tag_s{
                    display: inline-block;
                    font-size: r(14px);
                    padding: 0 r(10px);
                    height: r(30px);
                    line-height: r(30px);
                    color: #000;
                    border: 1px solid rgba(0,0,0,.6);
                    border-radius: r(99px);
                    word-break: keep-all;
                    margin-bottom: r(10px);
                    margin-right: r(14px);
                }
                .tag_hot{
                    color: #fc4524;
                    border: 1px solid #fc4524;
                    
                }
            }
        }
    }
    //激活类
    .s_active{
        z-index: 2;
        display: block;
    }
}
